package gyb.rasa.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.neo4j.ogm.annotation.GeneratedValue;
import org.neo4j.ogm.annotation.Id;
import org.neo4j.ogm.annotation.NodeEntity;
import org.neo4j.ogm.annotation.Property;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * <p>
 *
 * </p>
 *
 * @author 郜宇博
 * @since 2023-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Disease对象", description="")
@NoArgsConstructor
@AllArgsConstructor
@NodeEntity(label = "Disease")
public class Disease implements Serializable {

    @Id
    @GeneratedValue
    private Long id;

    @ApiModelProperty(value = "简介")
    @Property(name = "intro")
    private String intro;

    @ApiModelProperty(value = "医保疾病")
    @Property(name = "insurance")
    private String insurance;

    @ApiModelProperty(value = "治疗方式")
    @Property(name = "treat")
    private ArrayList<String> treat;

    @ApiModelProperty(value = "发病原因")
    @Property(name = "cause")
    private String cause;

    @ApiModelProperty(value = "治疗")
    @Property(name = "nursing")
    private String nursing;

    @ApiModelProperty(value = "得病渠道")
    @Property(name = "get_way")
    private String getWay;

    @ApiModelProperty(value = "治疗概率")
    @Property(name = "treat_prob")
    private String treatProb;

    @ApiModelProperty(value = "预防")
    @Property(name = "prevent")
    private String prevent;

    @ApiModelProperty(value = "患病比例")
    @Property(name = "get_prob")
    private String getProb;

    @ApiModelProperty(value = "治疗细节")
    @Property(name = "treat_detail")
    private String treatDetail;

    @ApiModelProperty(value = "名称")
    @Property(name = "name")
    private String name;

    @ApiModelProperty(value = "治疗周期")
    @Property(name = "treat_period")
    private String treatPeriod;

    @ApiModelProperty(value = "花费")
    @Property(name = "treat_cost")
    private String treatCost;

    @ApiModelProperty(value = "易患人群")
    @Property(name = "easy_get")
    private String easyGet;




}
